package org.csu.jpetstore.persistence;

import org.csu.jpetstore.domain.Account;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AccountMapper {
    Account getAccountByUsername(String username);

    Account getAccountByUsernameAndPassword(String username, String password);

    void insertAccount(Account account);
    void insertSignon(Account account);
    void insertProfile(Account account);

    void updateAccount(Account account);
    void updateSignon(Account account);
    void updateProfile(Account account);

}
